package com.wang.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wang.pojo.Archives;
import com.wang.pojo.ArchivesParams;
import com.wang.pojo.Article;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

//@Mapper
@Repository
public interface ArticleMapper extends BaseMapper<Article> {

    List<Archives> ListArchives();

    List<Article> ListArticleByArchives(ArchivesParams archivesParams);
}
